package com.neulogistics.infrastructure.ddd.domain.seedwork;

import java.io.Serializable;

public interface IRepository<TAggregateRoot extends IAggregateRoot, KEY extends Serializable> {
    void save(TAggregateRoot tAggregateRoot);

    TAggregateRoot findById(KEY id);

    void deleteById(KEY id);
}
